home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 1 / ETO Development Tools 1.iso / Tools - Objects / MacApp / THINK Pascal Interfaces / THINK Pascal 5 / Generic.Script next >
Encoding:
Text File  |  1990-04-03  |  1.6 KB  |  50 lines  |  [TEXT/MACv]

  1. {    Prompt for the the input and output directories    }
  2. {$SETC InputFolder = '$Where is the input folder?'}
  3. {$SETC OutputFolder = '$Place converted sources in:'}
  4.  
  5. {$SETC SrcApp = InputFolder}
  6.  
  7. {    These are the standard USES clause changes, copied from "MacApp.Script"    }
  8.  
  9.     {     Unit dependencies: any unit that USES the first unit in each $DEPEND directive
  10.         must also USE the subsequent units. }
  11.     
  12.     {$DEPEND ULoMem SysEqu Devices}
  13.     {$DEPEND UMacAppUtilities Traps ULoMem}
  14.     {$DEPEND UViewCoords UMacAppUtilities}
  15.     {$DEPEND UMemory UPatch}
  16.     {$DEPEND UMacApp UObject UViewCoords UMemory UFailure UMenuSetup UList}
  17.     {$DEPEND UInspector UObject UList}
  18.     {$DEPEND UDialog UList UAssociation UMacApp UTEView}
  19.     {$DEPEND UPrinting PrintTraps}
  20.     
  21.     {    Additional USES requirements        }
  22.     
  23.     {$USES UDialog UList UAssociation}
  24.     {$USES UInspector UObject UList}
  25.     {$USES UFailure UMacAppUtilities UDebug}
  26.     
  27.     {    Any uses of these units should be removed    }
  28.     {$NOUSES UFailure UMacApp}
  29.     {$NOUSES UMacApp UInspector}
  30.     
  31.     {    Remove USES of the standard Mac interfaces which are built in to THINK Pascal.    }
  32.     
  33.     {$NOUSES * Controls Desk Devices Dialogs DiskInit Errors Events Files Fonts Lists Memory Menus}
  34.     {$NOUSES * OSEvents OSUtils Packages Quickdraw Resources Scrap SCSI SegLoad TextEdit ToolUtils}
  35.     {$NOUSES * Types Windows}
  36.     
  37.     {$NOUSES * MemTypes Quickdraw OSIntf ToolIntf PackIntf}
  38.     
  39. {    Tell the converter where to place the converted sources    }
  40. {$OUTPUT OutputFolder}
  41.  
  42. {    Default to the specified input folder for unqualified file names    }
  43. {$DIR InputFolder}
  44.  
  45. {    Look for includes in the specified input folder    }
  46. {$INCLUDES InputFolder}
  47.  
  48. {    Process the source files from the input folder    }
  49. {$INPUT InputFolder}
  50.